package cn.yiyuan.car.mapper;

import cn.yiyuan.base.mapper.BaseMapper;
import cn.yiyuan.car.entity.CarEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lijie
 * @since 2024-01-03
 */
@Mapper
public interface CarMapper extends BaseMapper<CarEntity> {

    List<CarEntity> queryByIdsAndCondition(List<Long> ids);

    void batchUpdateState(@Param("ids") List<Long> ids,@Param("state") int state);
}
